<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>新建规则</title>
    <link href="../../assets/bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="../../assets/css/public.css" type="text/css" rel="stylesheet">
    <script src="../../assets/jquery/jquery.2.1.1.min.js"></script>
    <script src="../../assets/bootstrap/js/bootstrap.min.js"></script>
    <script src="../../assets/lay/laydate/laydate.js"></script>
    <script src="../../assets/jquery/jquery.validate.min.js"></script>
    <script src="../../assets/jquery/jquery.validate.ext.js"></script>
    <script>
        window.menuCode = 'CollectionDir';
        window.thirdMenuCode = 'CalcRules';
    </script>
    <script src="../../assets/common/d_common.js"></script>
    <script src="../../assets/lay/layer/layer.js"></script>
    <script src="../../assets/jrain/jrain.js"></script>
    <script src="../../assets/jrain/json2.js"></script>
    <script src="../../assets/jrain/dateformat.js"></script>
    <script src="../../assets/jrain/jraincommon.js"></script>
    <script src="../../assets/jrain/Math.js"></script>
    <script>
        $(function () {
            updateLoad();
        });
    </script>
    <script src="js/calc_info.js"></script>
</head>
<body>
<div class="container">
    <!--head-->
    <div id="header" class="headerbox">

    </div>
    <!--head-->
    <!--内容区域-->
    <div class="row  sidebar-mini" id="mainCont">
        <div class="wrapper">
            <div class="main-left" id="leftMenu">left</div>
            <div class="main-right">
                <div class="rightcont" id="rightCont">
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 q-sheetTitle pl10">基本信息</div>
                    <form class="form-inline q-form" id="theform" name="theform">
                        <input type="hidden" name="url" value="/rest/IotCalcBusiness/modify">
                        <input type="hidden" name="b_id" id="b_id" value="">
                        <input type="hidden" id="b_isRpt" name="b_isRpt" value="2">
                        <input type="hidden" id="b_tcodeOld" name="b_tcodeOld">
                        <input type="hidden" id="b_rptCode" name="b_rptCode" value="">
                        <input type="hidden" id="b_refId" name="b_refId" value="">

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>目标表格：</label>


                            <input id="b_ttable" name="b_ttable" type="text"
                                   class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="" >


                        </div>

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>目标编码：</label>


                            <input id="b_tcode" name="b_tcode" type="text"
                                   class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">


                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>目标名称：</label>


                            <input id="b_tname" name="b_tname" type="text"
                                   class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">


                        </div>

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>源表格：</label>


                            <input id="b_stable" name="b_stable" type="text"
                                   class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">


                        </div>

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>源编码：</label>


                            <input id="b_scode" name="b_scode" type="text"
                                   class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">


                        </div>

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>目标列：</label>


                            <input id="b_tcolumn" name="b_tcolumn" type="text"
                                   class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="" value="">


                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>原数据列：</label>


                            <input id="b_scolumn" name="b_scolumn" type="text"
                                   class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">


                        </div>


                        <div  class="col-lg-4 col-md-4 col-sm-4 mt10">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>精度：</label>


                            <input id="b_scale" value="2"  name="b_scale" type="text"
                                   class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">


                        </div>

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">

                            <label class="control-label text-w130">状态：</label>


                            <label class="radio-inline">

                                <input name="b_status_1" checked="checked" value="1" type="radio"> 启用</label>

                            <label class="radio-inline">

                                <input name="b_status_1" value="2" type="radio"> 停用</label>

                            <input type="hidden" id="b_status" name="b_status" value="1">


                        </div>


                        <div class="col-lg-4 col-md-4 col-sm-4 mt10 q-textarea">
                            <label class="control-label text-w130">
                                <span class="redstar">*</span>数据计算公式：</label>
                            <textarea rows="3" cols=""  class="form-control q-form-ipt q-form-ipt-device"
                                      id="b_calcExpr"
                                      name="b_calcExpr"></textarea>


                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10 q-textarea">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>日期计算公式：</label>

                            <textarea rows="3" cols="" class="form-control q-form-ipt q-form-ipt-device" id="b_calcDate"
                                      name="b_calcDate"></textarea>



                        </div>

                        <div  class="col-lg-4 col-md-4 col-sm-4 mt10 q-textarea">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>日期逆向开始：</label>


                            <textarea rows="3" cols="" class="form-control q-form-ipt q-form-ipt-device" id="b_calcStart"
                                      name="b_calcStart"></textarea>


                        </div>

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10 q-textarea">

                            <label class="control-label text-w130">

                                日期逆向结束：</label>


                            <textarea rows="3" cols="" class="form-control q-form-ipt q-form-ipt-device" id="b_calcEnd"
                                      name="b_calcEnd"></textarea>


                        </div>

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10 q-textarea">

                            <label class="control-label text-w130">备注：</label>


                            <textarea rows="3" cols="" class="form-control q-form-ipt q-form-ipt-device" id="b_remarks"
                                      name="b_remarks"></textarea>


                        </div>
                        <div  class="col-lg-4 col-md-4 col-sm-4 mt10">

                            <label class="control-label text-w130">

                                <span class="redstar">*</span>排序号：</label>


                            <input id="b_rowSort" value="1000" name="b_rowSort" type="text"
                                   class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">


                        </div>

                    </form>
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 q-bottom-btn mt20">
                        <a  class="q-form-btn q-form-btn-white mr5" id="returnBut">
                            <i class="qxticon icon-back"></i> 返回
                        </a>
                        <a href="javascript:;" class="q-form-btn q-form-btn-blue ml5" id="subBtn">
                            <i class="glyphicon glyphicon-floppy-save"></i> 保存
                        </a>
                    </div>
                </div>
                <!--底部区域-->
                <!--底部区域-->
                <div class="footer" id="footer"></div>
            </div>
        </div>
    </div>
    <!--内容区域-->
</div>
</body>
</html>